{% extends "base.html" %} {% block title %}Application Management - NGO Foundation{% endblock %} {% block body_class %}admin-portal-active{% endblock %} {% block content %}
{% include "admin/_admin_sidebar.html" %}
{% set topbar_title = 'Beneficiaries Management' if app_type == 'support' else 'Volunteer Applications' %} {% set topbar_subtitle = 'Home / Application Review Queue' %} {% include "admin/_admin_topbar.html" %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}
Queue Total

{{ applications|length }}

{{ 'Beneficiary requests' if app_type == 'support' else 'Volunteer applicants' }}
Approved

{{ applications|selectattr('status', 'equalto', 'Approved')|list|length }}

Authorized & Active
Under Review / Pending

{{ applications|selectattr('status', 'in', ['Submitted', 'Verification Pending', 'Under Review'])|list|length }}

Action Required
Verified

{{ applications|selectattr('status', 'equalto', 'Verified')|list|length }}

Awaiting Admin Decision
Reset
{% if applications %}
{% for app in applications %} {% set ref = app.reference_id if app_type == 'volunteer' else app.reference_no %} {% endfor %}
Reference ID {% if app_type == 'volunteer' %}Applicant / Skills{% else %}Category & Beneficiary{% endif %} Location Status Assigned Verifier Submitted Decision Action
{{ ref }}
{{ 'Volunteer' if app_type == 'volunteer' else 'Aid Beneficiary' }}
{% if app_type == 'volunteer' %}
{{ app.name }}
{% if app.skills %} {{ app.skills }} {% endif %} {% else %}
{{ app.category }}
{{ app.contact_details }} {% endif %}
{{ app.district + ', ' + app.state if app_type == 'volunteer' else app.location }}
● {{ app.status }}
{{ app.submitted_at.strftime('%d %b %Y') if app.submitted_at else '—' }}
{% else %}
No Applications Found

No applications match the current filter criteria.

{% endif %}
{% include "admin/_admin_modals.html" %} {% endblock %}